package com.sjgtw.cloud.web.path.service;

import com.sjgtw.cloud.web.path.domain.EmergencyPath;
import com.sjgtw.cloud.web.path.vo.EmergencyPathVO;

import java.util.List;

/**
 * 应急路径Service接口
 * 
 * @author lvyoufang
 * @date 2024-03-19
 */
public interface IEmergencyPathService 
{
    /**
     * 查询应急路径
     * 
     * @param id 应急路径主键
     * @return 应急路径
     */
    public EmergencyPathVO selectEmergencyPathById(Long id);

    /**
     * 查询应急路径列表
     * 
     * @param emergencyPath 应急路径
     * @return 应急路径集合
     */
    public List<EmergencyPath> selectEmergencyPathList(EmergencyPath emergencyPath);

    /**
     * 新增应急路径
     * 
     * @param emergencyPath 应急路径
     * @return 结果
     */
    public int insertEmergencyPath(EmergencyPath emergencyPath);

    /**
     * 修改应急路径
     * 
     * @param emergencyPath 应急路径
     * @return 结果
     */
    public int updateEmergencyPath(EmergencyPath emergencyPath);

    /**
     * 批量删除应急路径
     * 
     * @param ids 需要删除的应急路径主键集合
     * @return 结果
     */
    public int deleteEmergencyPathByIds(String[] ids);

    /**
     * 删除应急路径信息
     * 
     * @param id 应急路径主键
     * @return 结果
     */
    public int deleteEmergencyPathById(Long id);

    List<EmergencyPath> findByUpperIds(List<Long> upperIds);
}
